home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: bath.ac.uk!uwe-bristol!kiwi!jp-morri
- From: jp-morri@csm.uwe.ac.uk (J Morris)
- Subject: Re: Programming the timer in BC4.5 for Windows (8 KHz)
- Message-ID: <1996Mar21.152234.4907@pat.uwe.ac.uk>
- To: thehun@tip.nl (The Hun)
- Sender: usenet@pat.uwe.ac.uk (uwe nntp usenet poster)
- Nntp-Posting-Host: usenet@pat.uwe.ac.uk (uwe nntp usenet poster)
- Organization: University of the West of England.
- X-Newsreader: xrn 7.04-beta-2
- References: <DoEurA.KH7@tip.nl>
- Date: Thu, 21 Mar 1996 15:22:34 GMT
-
- In article <DoEurA.KH7@tip.nl>, thehun@tip.nl (The Hun) writes:
- > I'm trying to program a sampler in Windows. This sampler is supposed
- > to receive data from a self-designed piece of hardware. I'm sampling
- > the voice (from a phone), so the frequency must be about 8 kHz. How do
- > I get windows to generate an interrupt at the rate of 8 kHz. Help
- > would be greatly appriciated! Thanks in advance.
- >
- > Patrick
- >
-
- This may not be strictly true, but this is my experience.
- If you're trying to do 8khz interrupts under windows, forget it.
-
- I try to run a DOS program that does this under windows, and windows dies
- a horrible death. You cannot get >6khz out of the system before it crashes.
-
- I don't see why it should be any different for native windows apps.
-
- Why not program for DOS?
- It will work! I have got 16Khz to work easily. I could get much more if I
- tried. Writing this kind of program under Windows will just place contraints
- on the program.
-
- Or, you could maybe use a DMA buffer to do this. However, it will require
- additional hardware on your device.
-
-
- >
- >
-
- --
- *****************************************************************************
- *J.P Morris, IT-HE Software * jp-morri@csm.uwe.ac.uk * NOT a UWE spokeman *
- *****************************************************************************
-
-
-
-
-